
class ProjectsDomainModel{
  final int totalCount;
  final List<Project> projects;

  const ProjectsDomainModel({
    required this.totalCount,
    required this.projects,
  });

  @override
  String toString() {
    return 'ProjectsDomainModel{totalCount: $totalCount, projects: $projects}';
  }

}

class Project {
  final String title;
  final String desc;
  final String link;
  final String niceDate;
  final int chapterId;

  const Project({
    required this.title,
    required this.desc,
    required this.link,
    required this.niceDate,
    required this.chapterId,
  });

  @override
  String toString() {
    return 'Project{title: $title, desc: $desc, link: $link, niceDate: $niceDate, chapterId: $chapterId}';
  }

}
